import {messages} from "share/common";
import React, {Component} from 'react';
import {Tabs, Checkbox} from 'antd'

const TabPane = Tabs.TabPane;
import ConfirmDistribution from 'containers/supplier-management/accounting-settings/tabs/tab-confirm-distribution'
import OfflineConsumer from 'containers/supplier-management/accounting-settings/tabs/tab-offline-consumer'

class AccountingSettings extends Component{

  constructor(props){
    super(props);
    this.state = {

    }
  }



  render(){

    const {distributionValue} = this.state;
    return (
      <div className='accounting-settings'>
        <Tabs tabPosition='top'>
          <TabPane tab={messages('supplier.key630')/*分发确认设置*/} key='1'>
            <ConfirmDistribution />
          </TabPane>
          <TabPane tab={messages('supplier.key592')/*线下消费商设置*/} key='2'>
            <OfflineConsumer/>
          </TabPane>
        </Tabs>
      </div>
    )
  }
}

export default AccountingSettings;
